package com.lingyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lingyi.common.core.domain.BaseEntity;
import com.lingyi.common.core.domain.BasePlusEntity;
import lombok.Data;

/**
 * @PackageName: com.lingyi.system.domain
 * @ClassName: Message
 * @Description:
 * @Author: czl
 * @Date: 2025/4/19 23:26
 */
@Data
@TableName("message")
public class Message extends BasePlusEntity {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 内容
     */
    @TableField(value = "context")
    private String context;

    /**
     * text 文本 image 图片 video 视频
     */
    @TableField(value = "type")
    private String type;

    /**
     * 视频消息的标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 视频消息的描述
     */
    @TableField(value = "description")
    private String description;

    /**
     * 视屏封面图片
     */
    @TableField(value = "cover_image")
    private String coverImage;

    /**
     * 发送数量
     */
    @TableField(exist = false )
    private int sendSize;
}
